package com.yykj.user.center.server.service.impl.patient;

import com.yykj.user.center.server.service.DeptService;
import org.springframework.stereotype.Service;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/10/28 21:04
 */
@Service
public class DeptServiceImpl implements DeptService {
//    @Autowired
//    private HospitalDepartmentRepository hospitalDepartmentRepository;
//    @Override
//    public List<HospitalDepartment> showTwelveHotDept(Integer hospitalId) {
//        PageRequest pr = new PageRequest(0,12);
//        List<HospitalDepartment> hospitalDepartments = hospitalDepartmentRepository.findByHospitalIdAndHotAndStatusOrderBySorting(pr,hospitalId,true,true);
//        return hospitalDepartments;
//    }
//
//    @Override
//    public List<HospitalDepartment> showAllHotDept(Integer hospitalId) {
//        List<HospitalDepartment> hospitalDepartments = hospitalDepartmentRepository.findAllByHospitalIdAndHotAndStatusOrderBySorting(hospitalId,true,true);
//        return hospitalDepartments;
//    }
}
